package com.zxl.common.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 中国城市表
 * </p>
 *
 * @author zxw
 * @since 2023-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysChinaCity对象", description="中国城市表")
@TableName("sys_china_city")
public class SysChinaCity implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer adCode;

    private String name;

    private String fullName;

    private String pinyin;

    @ApiModelProperty(value = "经度")
    private Double lat;

    @ApiModelProperty(value = "纬度")
    private Double lng;

    @ApiModelProperty(value = "等级100为省200为市300为区")
    private Integer cityType;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private LocalDateTime createdAt;

    private Integer deleted;

    private Integer supCode;

    private Boolean cityAsPro;


}
